package com.hxzy.shop.commodity.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CouponReq implements Serializable {
    @ApiModelProperty("药品id")
    private String drugId;

    @ApiModelProperty("优惠劵id")
    private String couponId;

    @ApiModelProperty("优惠劵名称")
    private String couponName;

    @NotBlank(message = "门槛金额不能为空")
    @ApiModelProperty(value = "门槛金额")
    private BigDecimal limitedAmount;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal preferentialAmount;

    @ApiModelProperty(value = "可使用商品状态 true全部商品 false部分商品")
    private Boolean availableCommodityStatus;
}
